package com.red.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.red.dto.AttractionsStatusDTO;
import com.red.dto.HomePageQueryDTO;
import com.red.entity.Attractions;
import com.red.entity.Carousels;
import com.red.result.PageResult;
import com.red.vo.AttractionsVO;

import java.util.List;

/**
 * @author 刘英豪
 */
public interface AttractionsService extends IService<Attractions> {

    List<Carousels> getCarouselsAll();

    PageResult PageQuery(HomePageQueryDTO dto);

    void insert(Attractions attractions);

    void deleteById(Long id);

    void updateAttraction(Attractions attractions);

    List<Attractions> getScenicAll();

    void is_Status(AttractionsStatusDTO dto);

    AttractionsVO getAttractionById(Long id);

    List<Attractions> selectByUserId();

    PageResult AdminpageQuery(HomePageQueryDTO dto);
}
